#pragma once

#include "..\Interface\AbstractEngine.h"

class CMSSQLDBEngine : public AbstractDBEngine
{
public:
	CMSSQLDBEngine(CPersistenceProperty pp);
	~CMSSQLDBEngine();

	virtual EDatabaseType GetDatabaseType() = 0; 
	virtual IDBConnection GetDBConnection() = 0; 

	virtual void Open() = 0; 

	virtual void Close() = 0;


	//////////////////////////////////////////////////////////////////////////
	virtual IDBTransaction BeginTransaction() = 0; 
	virtual int ExecuteNonQuery(CString commandText) = 0; 
	virtual int ExecuteDataset(CString commandText) = 0; 
protected:
	
private:
};